<?php

declare(strict_types=1);

namespace Plugin\Attractions\Inspection\Model\Inspection_vendors;

use Hyperf\DbConnection\Model\Model;

/**
 * @property int $id ID
 * @property string $name 公司名称
 * @property string $phone 公司电话
 * @property string $email 公司邮箱
 * @property string $address 公司地址
 * @property string $congition 识别ID
 * @property string $remark 备注
 * @property \Carbon\Carbon $created_at 
 * @property \Carbon\Carbon $updated_at 
 */
class InspectionVendors extends Model
{
    /**
     * The table associated with the model.
     */
    protected ?string $table = 'inspection_vendors';

    /**
     * The attributes that are mass assignable.
     */
    protected array $fillable = ['id', 'name', 'phone', 'email', 'address', 'congition', 'remark', 'created_at', 'updated_at'];

    /**
     * The attributes that should be cast to native types.
     */
    protected array $casts = ['id' => 'integer', 'created_at' => 'datetime', 'updated_at' => 'datetime'];
}
